#include <stdio.h>
#include <string.h>

int main( )
{ 
    char a[ 100000 ];
    int b[ 26 ] , i, j, k, l, n, m;
    while ( gets( a ) )
    {
        k = strlen( a );
        for ( i = 0; i < 26; i++ )
            b[ i ] = 0;
        for ( i = 0; i < k; i++ )
            if ( a[ i ] >= 'a' && a[ i ] <= 'z' )
                b[ a[ i ] - 'a' ]++;
        for ( i = 0; i < 26; i++ )
            printf("%c:%d\n", char( i + 'a' ), b[ i ]);
        printf("\n");
    }
    return 0;
}
